package com.own.component.log.login.core;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * LogLoginAutoConfig
 *
 * @author chenxueli
 * @date 2024-05-13 10:15:00
 */
@Component
public class LogLoginAutoConfig {

    @Bean
    @ConditionalOnMissingBean(LogLoginHandlerHook.class)
    public LogLoginHandlerHook logLoginHandlerHook() {
        return entity -> {
        };
    }

}
